<table cellpadding="2" cellspacing="1" bgcolor="#ffffff">
	<tr> 
      <td><strong>时间格式：</strong></td>
      <td>
    	  <select name="setting[format]">
        	  <option value="Y-m-d H:i:s" <?php if(isset($setting['format']) && $setting['format']=='Y-m-d H:i:s') echo 'selected';?>>24小时制:<?php echo date('Y-m-d H:i:s')?></option>
        	  <option value="Y-m-d H:i" <?php if(isset($setting['format']) && $setting['format']=='Y-m-d H:i') echo 'selected';?>><?php echo date('Y-m-d H:i')?></option>
        	  <option value="Y-m-d" <?php if(isset($setting['format']) && $setting['format']=='Y-m-d') echo 'selected';?>><?php echo date('Y-m-d')?></option>
        	  <option value="m-d" <?php if(isset($setting['format']) && $setting['format']=='m-d') echo 'selected';?>><?php echo date('m-d')?></option>
    	  </select>	  
	  </td>
    </tr>
    <tr> 
      <td><strong>允许选择时间：</strong></td>
      <td>
      <input type="hidden" name="setting[defaulttype]" value="" />
	  <input type="radio" name="setting[showtime]" value="1" <?php if(isset($setting['showtime']) && $setting['showtime']=='1') echo 'checked';?>/>是&nbsp;
      <input type="radio" name="setting[showtime]" value="2" <?php if((isset($setting['showtime']) && $setting['showtime']=='2') || !isset($setting['showtime'])) echo 'checked';?> />否
	 </td>
    </tr>
	
</table>